#pragma once
struct IImage;
class MapRequest
{
public:
	CString url ;
	double centerx;
	double centery;
	double step;

	int zoom;
	int sizex;
	int sizey;

	CString maptype;
	CString key;
	BOOL sensor;



//	http://ditu.google.cn/staticmap?center=40.714728,-73.998672&zoom=14&size=512x512&maptype=mobile\&markers=39.949328,116.3875,blues|39.949328,116.3775,greeng|39.943028,116.3975,redc\&key=MAPS_API_KEY&sensor=false
public:
	MapRequest(void);
	~MapRequest(void);
public:
	CString getMapUrl();
	CString getMapServer();

	void up();
	void down();
	void left();
	void right();
	
};
class Marker{
public:
	double x;
	double y;
	CString colour;
};